From 2ac63745004d385fd47599d658b03dcfbbc7b17d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 28 Jun 2023 00:18:06 +0100 Subject: Put linking section before name section --- ...a(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 8b897e0d..914b6ce4 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -15,9 +15,6 @@ Code[1]: Data[1]: - segment[0] <.data> memory=0 size=9 - init i32=0 - 0000000: 0000 0005 6865 6c6c 6f ....hello -Custom: - - name: "name" - - func[0] Custom: - name: "linking" - segment info [count=1] @@ -29,6 +26,9 @@ Custom: - name: "reloc.CODE" - relocations for section: 3 (Code) [1] - R_WASM_MEMORY_ADDR_SLEB offset=0x000008(file=0x000068) symbol=1 +Custom: + - name: "name" + - func[0] Code Disassembly: -- cgit v1.2.3